package cn.kgc.novel.exception;

import cn.kgc.novel.common.ErrorCodeEnum;

public class UserNotExitsException extends RuntimeException{
    private ErrorCodeEnum errorCodeEnum;
    public UserNotExitsException(){}
    public UserNotExitsException(ErrorCodeEnum errorCodeEnum){this.errorCodeEnum=errorCodeEnum;}
    public ErrorCodeEnum getErrorCodeEnum(){
        return errorCodeEnum;
    }
}
